/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package gisgraph.components;

import org.apache.commons.collections15.Factory;

/**
 *
 * @author Slawek
 */
public class GISVertexFactory implements Factory<GISVertex> {

    private int counter = 1;

    public GISVertex create() {
        counter++;
        return new GISVertex(counter);
    }
}
